<template>
  <div>
    <bread-crumb
      class="bread-crumb-padding"
      :list="breadCrumb"
      :user="true"
    ></bread-crumb>
    <div class="user-main-box">
      <user-tab-list :list="tablist"></user-tab-list>
      <keep-alive>
        <!-- 需要缓存的视图组件 -->
        <router-view v-if="$route.meta.keepAlive"></router-view>
      </keep-alive>
      <!-- 不需要缓存的视图组件 -->
      <router-view v-if="!$route.meta.keepAlive"></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: "VipReminder",
  data() {
    return {
      breadCrumb: [{ name: "抢注管理" }, { name: "预订提醒" }],
      tablist: [
        {
          name: "预订提醒列表",
          to: "/user/reminder",
        },
        {
          name: "添加预订提醒",
          to: "/user/reminder/setting",
        }
      ]
    };
  },
  mounted() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
</style>
